package com.yuda.campsite.service;

import com.yuda.campsite.domain.WorkForQianDuan;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: xiaohudie
 * @Date: 2022/1/17 17:18
 * @Version: 1.8
 */
public interface WorkForQianDuanService {
    public List<WorkForQianDuan> ChaXunStudentTrue( String campsiteId);
    /**指定学生具体做哪个作业的方法*/
    public Integer ZhiDingZuoYe( String workId,
                              String studentId,
                              String campsiteId);
    /**找出学生在order表中原来的workId*/
    public String XueShengWorkId (  String studentId,
                                     String campsiteId);
    /** 查看需要做这题学生的总数量*/
    public Integer WorkZhongShuLiang ( String workId);
    /** 查看所有已提交的作业数量*/
    public Integer YiTiJiaoShuLiang( String workId);
    /**查看未评分的作业数量*/
    public Integer WeiPingFen ( String workId);
    /**查看已评分的作业数量*/
    public Integer YiPingFen ( String workId);
    /**查看这个学生当前的作业ID,进行判断和取消做作业操作*/
    public String ChaXunZuoYeId ( String studentId,
                                  String campsiteId);
    /**前端回显使用接口*/
    public List<String> XuanZheHuiXian (@Param("campsiteId") String campsiteId,
                                        @Param("workId") String workId);
}
